home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 3: Developer Tools
/
Linux Cubed Series 3 - Developer Tools.iso
/
devel
/
lang
/
c
/
c_count-.0
/
c_count-
/
c_count-7.0
/
testing
/
showdiff.sh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
1990-08-30
|
240 b
|
15 lines
#!/bin/sh
# $Id: showdiff.sh,v 7.0 1990/08/30 07:54:55 ste_cm Rel $
#
# Performs regression-test comparison for 'run_tests.sh'
if test ! -f $2
then
mv $1 $2
elif ( cmp -s $1 $2 )
then
echo '** (ok)'
else
echo '?? failed:'
diff $1 $2
fi